package day05;

public class Point {
    int x;
    int y;

    public double distance(){
        return Math.sqrt(x * x + y * y);
    }
    public String toString(){
        return "("+x+", "+y+")";
    }
}
